package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SafetyExaminationQuestion;
import com.ruoyi.system.domain.backend.SafetyExaminationQuestionBack;

/**
 * 题目库Mapper接口
 * 
 * @author ruoyi
 * @date 2021-04-07
 */
public interface SafetyExaminationQuestionMapper 
{

    /**
     * 查询题目库
     * 
     * @param questionId 题目库ID
     * @return 题目库
     */
    public SafetyExaminationQuestion selectSafetyExaminationQuestionById(String questionId);

    /**
     * 查询题目库列表
     *
     * @param safetyExaminationQuestion 题目库
     * @return 题目库集合
     */
    public List<SafetyExaminationQuestion> selectSafetyExaminationQuestionFrontList(SafetyExaminationQuestion safetyExaminationQuestion);

    /**
     * 查询题目库列表
     * 
     * @param safetyExaminationQuestionBack 题目库
     * @return 题目库集合
     */
    public List<SafetyExaminationQuestion> selectSafetyExaminationQuestionList(SafetyExaminationQuestionBack safetyExaminationQuestionBack);

    /**
     * 新增题目库
     * 
     * @param safetyExaminationQuestion 题目库
     * @return 结果
     */
    public int insertSafetyExaminationQuestion(SafetyExaminationQuestion safetyExaminationQuestion);

    /**
     * 修改题目库
     * 
     * @param safetyExaminationQuestion 题目库
     * @return 结果
     */
    public int updateSafetyExaminationQuestion(SafetyExaminationQuestion safetyExaminationQuestion);

    /**
     * 删除题目库
     * 
     * @param questionId 题目库ID
     * @return 结果
     */
    public int deleteSafetyExaminationQuestionById(String questionId);

    /**
     * 批量删除题目库
     * 
     * @param questionIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSafetyExaminationQuestionByIds(String[] questionIds);
}
